home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 86
/
(Vol 86) My Disc.iso
/
Games
/
restaurante_1072.swf
/
scripts
/
__Packages
/
Harp.as
< prev
next >
Wrap
Text File
|
2009-04-16
|
5KB
|
138 lines
if(true)
{
if(true)
{
§§push(false);
}
if(!§§pop())
{
if(true)
{
if(true)
{
§§push(false);
}
if(!§§pop())
{
if(!_global.Harp)
{
_global.Harp extends BoundItem;
var _loc2_ = _global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}.prototype;
_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}.__get__MCLINK = function()
{
return "Harp";
};
_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}.__get__PLAYDELAY = function()
{
return 3000;
};
_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}.__get__READYLABEL = function()
{
return "ready";
};
_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}.__get__PLAYINGLABEL = function()
{
return "playing";
};
_loc2_.init = function()
{
var obj = this;
this.__get__mc().gotoAndStop(Harp.__get__READYLABEL());
this.__get__mc().onRelease = function()
{
obj.__get__mc().gotoAndStop(Harp.__get__PLAYINGLABEL());
var interval = setInterval(function()
{
obj.active();
clearInterval(interval);
}
,Harp.__get__PLAYDELAY());
};
};
_loc2_.active = function()
{
Mission.getMission().getBound(this);
this._num = this._num - 1;
if(this.__get__mc() && this.__get__num() <= 0)
{
this.terminate();
}
};
§§push((_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}).addProperty("MCLINK",_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}.__get__MCLINK,function()
{
}
));
§§push((_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}).addProperty("PLAYDELAY",_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}.__get__PLAYDELAY,function()
{
}
));
§§push((_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}).addProperty("PLAYINGLABEL",_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}.__get__PLAYINGLABEL,function()
{
}
));
§§push((_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}).addProperty("READYLABEL",_global.Harp = function($mc, $num, $heartsNum)
{
super($mc,$num,$heartsNum);
this.init();
}.__get__READYLABEL,function()
{
}
));
§§push(ASSetPropFlags(_global.Harp.prototype,null,1));
}
§§pop();
}
}
§§goto(addr200);
}
}
addr200: